Skip to main content

[Symbol.asyncDispose]

method ReadableBase.prototype.[Symbol.asyncDispose]
Jump to headingReadableBase.prototype.[Symbol.asyncDispose](): Promise<void>

Calls readable.destroy() with an AbortError and returns a promise that fulfills when the stream is finished.

Return Type Jump to heading

Promise<void>
Back to top